package cn.mysource.org.service;

import cn.mysource.basic.service.BaseService;
import cn.mysource.basic.util.PageList;
import cn.mysource.org.domain.Department;
import cn.mysource.org.query.DepartmentQuery;

import java.util.List;

public interface IDepartmentService extends BaseService<Department> {

//    Department findById(Long id);
//    List<Department> findAll();
//
//    void add(Department department);
//
//    void update(Department department);
//    void delete(Long id);
//
//    // 查询分页
//    PageList<Department> queryByPage(DepartmentQuery query);
//
//    void batchDelete(List<Long> ids);
    List<Department> tree();


//    List<Department> queryByPage(DepartmentQuery query);//分页查询
//    Integer queryByCount(DepartmentQuery query);//查询条数
}
